package com.aiyige.model.sns.backup;

import android.text.TextUtils;

/**
 * Created by zhuyakun on 2018/1/31.
 */

public class SnsUserBackup {
    String id;
    String avatar;
    String name;
    String sex;
    String level;

    public SnsUserBackup() {
    }

    public SnsUserBackup(SnsUserBackup other) {
        id = TextUtils.isEmpty(other.getId()) ? "" : other.getId();
        avatar = TextUtils.isEmpty(other.getAvatar()) ? "" : other.getAvatar();
        name = TextUtils.isEmpty(other.getName()) ? "" : other.getName();
        sex = TextUtils.isEmpty(other.getSex()) ? "" : other.getSex();
        level = TextUtils.isEmpty(other.getLevel()) ? "" : other.getLevel();
    }


    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
